import Vue from 'vue'
import Router from 'vue-router'

import Home from '@/components/Home'
import Product from '@/components/cashier/Product'
import Category from '@/components/cashier/Category'
import Brand from '@/components/cashier/Brand'
import Apply from '@/components/cashier/Apply'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/admin',
      name: 'Home',
      component: Home
    },
    {
      path: '/admin/cashier/product',
      name: 'Product',
      component: Product
    },
    {
      path: '/admin/cashier/category',
      name: 'Category',
      component: Category
    },
    {
      path: '/admin/cashier/brand',
      name: 'Brand',
      component: Brand
    },
    {
      path: '/admin/cashier/apply',
      name: 'Apply',
      component: Apply
    },

  ]
})
